<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link href="__CSS__/course.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
</block>

<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/wsidebar"  />
        </div>
        <!-- 左侧菜end -->

  <!--内容栏start-->
  <div class="col-md-10 content">  
    <ul class="nav nav-tabs">
   <li><a href="{:U('Wckczuoye/index')}"><i class="glyphicon glyphicon-home"></i>首页</a></li>
   <li><a href="{:U('Wckczuoye/add')}">资料上传</a></li>
   <li><a href="{:U('Wckczuoye/search')}">文档搜索</a></li>
   <li><a href="{:U('Wckczuoye/Group')}">组别管理</a></li>
   <li class="active"><a href="{:U('Wckczuoye/myupload','id='.$vo['id'])}" >我的文档</a><li>
 
   </ul>
	<!-- 标题栏 -->
       <h3>我上传的文档 </h3> 
        <empty name="list">
            <br/>
                <span class="label label-info">您还未上传资料，请及时上传</span>
         <else/>
           <table class="table table-striped" width="95%">
            <thead>
            <tr class="info">
                <th>序号</th><th>学期</th><th>组别</th><th>标题</th><th>上传教师</th><th>上传日期</th><th>操作</th>
            </tr>
            </thead>
            <volist name="list" id="v" >
            <tr>
                <td>{$i}</td>
                <td>{$v.term}</td>
                <td>{$v.group}</td>    
                <td><a href="{:U('Wckczuoye/detail','id='.$v['id'])}">{$v.title}</a></td> 
                <td>{$v.teacher}</td>                     
                <td>{$v.update_time|date='Y-m-d',###}</td>
                <td>
                <a href="{:U('Jtbk/Wckczuoye/edit','id='.$v['id'])}"><span style="color:#0088AA"><i class="icon icon-edit"></i>编辑</span></a>｜
                <a href= "{:U('Jtbk/Wckczuoye/download','fid='.$v['id'])}" ><span style="color:#0088AA"><i class="icon icon-save"></i>下载</span></a></td>

                </tr>
            </volist>
            </table>
        </empty> 
 </div> 
</block>

